public class Main {
    public static void main(String[] args) {
        MySingleList mySingleList=new MySingleList();
        mySingleList.createList();
        System.out.println(mySingleList.size());
        mySingleList.show();
        System.out.println(mySingleList.contains(12));
        mySingleList.addFirst(30);
        mySingleList.show();
        mySingleList.addLast(90);
        mySingleList.show();
        mySingleList.addIndex(1,13);
        mySingleList.show();
//        System.out.println("=======删除======");
//        mySingleList.remove(90);
//        mySingleList.show();
//        mySingleList.removeAllKey(12);
//        mySingleList.show();
//        System.out.println("==清空==");
//        mySingleList.clear();
//        mySingleList.show();
    }
}